import { defineStore } from "pinia";
export const useCounterStore = defineStore("counter", {
  state: () => ({ active: 0 }),
  getters: {
    // double: (state) => state.active * 2,
  },
  actions: {
    tabSwitch(val) {
      this.active = val;
    },
  },
});